package com.itheima.service;

import com.itheima.pojo.User;

import java.util.Map;

public interface UserService {
    public User findByUserName(String username);

    public void register(String username, String password);

    void updateUser(User user);

    void updateAvatar(String avatarUrl, Integer id);

    void updatepwd(String new_pwd);
}
